﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <meta charset="utf-8" />
    <script src="../Js/jquery-1.11.3.min.js"></script>
</head>
<body>

    <a href="#" onclick="createMenu();">创建菜单</a>
    <br />
    <a href="#" onclick="selectMenu();">查询菜单菜单</a>
    <br />

    <script>
        //$.get('/service', function (data) {
        //    alert(data);
        //});
        //$.post('/service', function (data) {
        //    alert(data);
        //});
        $.post('/service/Select_Token', function (data) {
            alert(data);
        });
        //创建菜单
        function createMenu() {
            $.get('/service/CreateMenu', function (data) {
                alert(data);
            });
        }
        //查询菜单
        function selectMenu() {
            $.get('/service/SelectMenu', function (data) {
                alert(data);
            });
        }
    </script>
</body>
</html>
